<template>
	<view class="contianer">
		<view class="paymian">
			<view class="mian_top">
				<text class="paymoney">￥1000元</text>
				<text class="paytext">钱包充值</text>
			</view>
			<text class="paytitle">支付方式</text>
			<view class="payinfo">
				<i class="icon"></i>
				<text>微信支付</text>
			</view>
		</view>
		<view class="read">
			<u-checkbox-group v-model="checked" style="margin-right: 10px;">
				<u-checkbox  activeColor="#FD845C"  inactiveColor='#FD845C'></u-checkbox>
			</u-checkbox-group >
			<text>阅读并同意 <i>《交易规则》</i></text>
		</view>
		<view class="btn">
			立即支付
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				checked:false
			}
		}
	}
</script>

<style lang="scss" scoped>
	view {
		box-sizing: border-box;
		font-family: PingFang SC, PingFang SC;
	}

	.contianer {

		background: #F5F5F5;
		padding: 20px 15px;
		min-height: 100vh;

		.paymian {
			min-height: 196px;
			background: #FFFFFF;
			border-radius: 10px 10px 10px 10px;
			padding: 15px;
			margin-bottom: 20px;
			.mian_top{
				height: 90px;
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
				.paymoney{
					font-size: 20px;
					font-weight: bold;
					color: #FD845C;
					line-height: 40px;
				}
				.paytext{
					font-size: 14px;
					color: #999999;
					margin-top:6px;
				}
			}
			.paytitle{
				font-size: 16px;
				font-weight: bold;
				color: #333333;
			}
			.payinfo{
				margin-top: 12px;
				height: 40px;
				background: #F5F5F5;
				border-radius: 5px 5px 5px 5px;
				display: flex;
				align-items: center;
				padding-left: 16px;
				.icon{
					display: block;
					background-color: green;
					width: 24px;
					height: 24px;
					margin-right: 10px;
				}
				font-weight: bold;
				color: #333333;
				font-size: 14px;
			}
		}
	}
	.read{
		display: flex;
		i{
			font-style: normal;
			color:#FD845C ;
		}
	}
	
	.btn{
		margin-top: 100px;
		font-weight: bold;
		color: #FFFFFF;
		height: 40px;
		background: #FB774B;
		border-radius: 40px 40px 40px 40px;
		font-size: 16px;
		display: flex;
		justify-content: center;
		align-items: center;
	}
</style>